home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / appkit / PrintPanel.h < prev    next >
Text File  |  1991-11-14  |  2KB  |  77 lines

  1. /*
  2.     PrintPanel.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "Panel.h"
  8.  
  9. /* These button tags are returned by runModal */
  10.  
  11. #define NX_SAVETAG    3    /* tag assigned to save button */
  12. #define NX_PREVIEWTAG    4    /* tag assigned to preview button */
  13. #define NX_FAXTAG    5    /* tag assigned to fax button */
  14.  
  15. /* Tags for Controls in the PrintPanel */
  16.  
  17. #define NX_PPTITLEFIELD        40
  18. #define NX_PPICONBUTTON        41
  19. #define NX_PPNAMETITLE        42
  20. #define NX_PPNAMEFIELD        43
  21. #define NX_PPNOTETITLE        44
  22. #define NX_PPNOTEFIELD        45
  23. #define NX_PPSTATUSTITLE    46
  24. #define NX_PPSTATUSFIELD    47
  25. #define NX_PPCOPIESFIELD    49
  26. #define NX_PPPAGECHOICEMATRIX    50
  27. #define NX_PPPAGERANGEFROM    51
  28. #define NX_PPPAGERANGETO    52
  29. #define NX_PPAUTOMANUALBUTTON    53
  30. #define NX_PPRESOLUTIONBUTTON    54
  31.  
  32. @interface PrintPanel : Panel
  33. {
  34.     id                  appIcon;
  35.     id                  pageMode;
  36.     id                  firstPage;
  37.     id                  lastPage;
  38.     id                  copies;
  39.     id                  ok;
  40.     id                  cancel;
  41.     id                  preview;
  42.     id                  save;
  43.     id                  printers;
  44.     id                  feed;
  45.     id                  resolutionList;
  46.     id                  name;
  47.     id                  note;
  48.     id                  status;
  49.     int                 exitTag;
  50.     id                  accessoryView;
  51.     id            _ppdTextView;
  52.     id            buttons;
  53.     id            _ppdGroupView;
  54.     id            optionsButton;
  55.     void        *_priv;
  56. }
  57.  
  58. + new;
  59. + newContent:(const NXRect *)contentRect style:(int)aStyle backing:(int)bufferingType buttonMask:(int)mask defer:(BOOL)flag;
  60.  
  61. + allocFromZone:(NXZone *)zone;
  62. + alloc;
  63.  
  64. - free;
  65. - setAccessoryView:aView;
  66. - accessoryView;
  67. - pickedButton:sender;
  68. - (BOOL)textWillChange:textObject;
  69. - pickedAllPages:sender;
  70. - changePrinter:sender;
  71. - updateFromPrintInfo;
  72. - finalWritePrintInfo;
  73. - (int)runModal;
  74. - display;
  75.  
  76. @end
  77.